package org.lq.sm.test;

import java.io.IOException;

public class ExpMySQL {

	public static void main(String[] args) {
		
		try {
//			Runtime.getRuntime().exec("cmd.exe /c mysqldump -uroot -proot --databases hnkj_supermarket > data\\aaa.sql");
			Runtime.getRuntime().exec("cmd.exe /c mysql -uroot -proot < data\\aaa.sql");
		} catch (IOException e) {
			e.printStackTrace();
		}

	}

}
